updating oE pathname
pathname
include filesys.e namespace filesys public function pathname(sequence path)
returns the directory name of a fully qualified filename.
Parameters:
- path : the path from which to extract information
- pcd : If not zero and there is no directory name in path then "." is returned. The default (0) will just return any directory name in path.
Returns:
A sequence, the full file name part of path.
Comments:
The host operating system path separator is used.
Example 1:
fname = dirname("/opt/euphoria/docs/readme.txt") -- fname is "/opt/euphoria/docs"
See Also:
Not Categorized, Please Help
|